<?php
/*echo '<pre>';
print_r(TreeStructure::getChildrenFolders(array(1, 3, 6), true));
echo '</pre>';*/
$linearFlag = false;
if ($idUser)
	$linearFlag = User_Variable::getVariableValue($idUser, "tree_structure_linear_flag");
$treeStructureType = $columnLeft;
$arrFolders = TreeStructure::getTreeStructure($treeStructureType, $linearFlag, $idUser);
$curId = NULL;
if (isset($treeStructureCurId) && $treeStructureCurId != NULL)
	$curId = $treeStructureCurId;
$editFlag = false;
if (isset($treeStructureEditFlag) && $treeStructureEditFlag)
	$editFlag = true;
if (!isset($idFolder) || !$idFolder)
	$idFolder = NULL;
View_TreeStructure::viewAllTreeStructure($arrFolders, $treeStructureType, $curId, $editFlag, $linearFlag, $idUser, false, $idFolder);
?>			